package com.rudolphliu.entity;

import java.util.Date;

public class TraceBaseNode {
    private Integer id;

    private String seqId;

    private String cityCode;

    private String areaCode;

    private String socialCreditCode;

    private String compName;

    private String legalType;

    private String legalPerson;

    private String legalId;

    private String recordDate;

    private String issuingTime;

    private String termOfValidity;

    private String recordNodeId;

    private String recordNodeName;

    private String address;

    private Double longitude;

    private Double latitude;

    private String contacts;

    private String tel;

    private String fax;

    private String nodeType;

    private String classType;

    private String industryCode;

    private String issend;

    private Integer delFlg;

    private Long createDate;

    private Long updateDate;

    private String authId;

    private String isuse;

    private Date updateTime;

    private String regType;

    private String authName;

    private String updatetime;

    private String batchId;

    private String cityName;

    private String areaName;

    private String nodeTypeName;

    private String classTypeName;

    private String state;

    private Integer businessNum;

    private String credit;

    private String whetherHelp;

    private String mainCode;

    private String qrCode;

    private String bsState;

    private String bsScope;

    private Date applytime;

    private Date reviewtime;

    public TraceBaseNode(Integer id, String seqId, String cityCode, String areaCode, String socialCreditCode, String compName, String legalType, String legalPerson, String legalId, String recordDate, String issuingTime, String termOfValidity, String recordNodeId, String recordNodeName, String address, Double longitude, Double latitude, String contacts, String tel, String fax, String nodeType, String classType, String industryCode, String issend, Integer delFlg, Long createDate, Long updateDate, String authId, String isuse, Date updateTime, String regType, String authName, String updatetime, String batchId, String cityName, String areaName, String nodeTypeName, String classTypeName, String state, Integer businessNum, String credit, String whetherHelp, String mainCode, String qrCode, String bsState, String bsScope, Date applytime, Date reviewtime) {
        this.id = id;
        this.seqId = seqId;
        this.cityCode = cityCode;
        this.areaCode = areaCode;
        this.socialCreditCode = socialCreditCode;
        this.compName = compName;
        this.legalType = legalType;
        this.legalPerson = legalPerson;
        this.legalId = legalId;
        this.recordDate = recordDate;
        this.issuingTime = issuingTime;
        this.termOfValidity = termOfValidity;
        this.recordNodeId = recordNodeId;
        this.recordNodeName = recordNodeName;
        this.address = address;
        this.longitude = longitude;
        this.latitude = latitude;
        this.contacts = contacts;
        this.tel = tel;
        this.fax = fax;
        this.nodeType = nodeType;
        this.classType = classType;
        this.industryCode = industryCode;
        this.issend = issend;
        this.delFlg = delFlg;
        this.createDate = createDate;
        this.updateDate = updateDate;
        this.authId = authId;
        this.isuse = isuse;
        this.updateTime = updateTime;
        this.regType = regType;
        this.authName = authName;
        this.updatetime = updatetime;
        this.batchId = batchId;
        this.cityName = cityName;
        this.areaName = areaName;
        this.nodeTypeName = nodeTypeName;
        this.classTypeName = classTypeName;
        this.state = state;
        this.businessNum = businessNum;
        this.credit = credit;
        this.whetherHelp = whetherHelp;
        this.mainCode = mainCode;
        this.qrCode = qrCode;
        this.bsState = bsState;
        this.bsScope = bsScope;
        this.applytime = applytime;
        this.reviewtime = reviewtime;
    }

    public TraceBaseNode() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSeqId() {
        return seqId;
    }

    public void setSeqId(String seqId) {
        this.seqId = seqId == null ? null : seqId.trim();
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode == null ? null : cityCode.trim();
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode == null ? null : areaCode.trim();
    }

    public String getSocialCreditCode() {
        return socialCreditCode;
    }

    public void setSocialCreditCode(String socialCreditCode) {
        this.socialCreditCode = socialCreditCode == null ? null : socialCreditCode.trim();
    }

    public String getCompName() {
        return compName;
    }

    public void setCompName(String compName) {
        this.compName = compName == null ? null : compName.trim();
    }

    public String getLegalType() {
        return legalType;
    }

    public void setLegalType(String legalType) {
        this.legalType = legalType == null ? null : legalType.trim();
    }

    public String getLegalPerson() {
        return legalPerson;
    }

    public void setLegalPerson(String legalPerson) {
        this.legalPerson = legalPerson == null ? null : legalPerson.trim();
    }

    public String getLegalId() {
        return legalId;
    }

    public void setLegalId(String legalId) {
        this.legalId = legalId == null ? null : legalId.trim();
    }

    public String getRecordDate() {
        return recordDate;
    }

    public void setRecordDate(String recordDate) {
        this.recordDate = recordDate == null ? null : recordDate.trim();
    }

    public String getIssuingTime() {
        return issuingTime;
    }

    public void setIssuingTime(String issuingTime) {
        this.issuingTime = issuingTime == null ? null : issuingTime.trim();
    }

    public String getTermOfValidity() {
        return termOfValidity;
    }

    public void setTermOfValidity(String termOfValidity) {
        this.termOfValidity = termOfValidity == null ? null : termOfValidity.trim();
    }

    public String getRecordNodeId() {
        return recordNodeId;
    }

    public void setRecordNodeId(String recordNodeId) {
        this.recordNodeId = recordNodeId == null ? null : recordNodeId.trim();
    }

    public String getRecordNodeName() {
        return recordNodeName;
    }

    public void setRecordNodeName(String recordNodeName) {
        this.recordNodeName = recordNodeName == null ? null : recordNodeName.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts == null ? null : contacts.trim();
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel == null ? null : tel.trim();
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax == null ? null : fax.trim();
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType == null ? null : nodeType.trim();
    }

    public String getClassType() {
        return classType;
    }

    public void setClassType(String classType) {
        this.classType = classType == null ? null : classType.trim();
    }

    public String getIndustryCode() {
        return industryCode;
    }

    public void setIndustryCode(String industryCode) {
        this.industryCode = industryCode == null ? null : industryCode.trim();
    }

    public String getIssend() {
        return issend;
    }

    public void setIssend(String issend) {
        this.issend = issend == null ? null : issend.trim();
    }

    public Integer getDelFlg() {
        return delFlg;
    }

    public void setDelFlg(Integer delFlg) {
        this.delFlg = delFlg;
    }

    public Long getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Long createDate) {
        this.createDate = createDate;
    }

    public Long getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Long updateDate) {
        this.updateDate = updateDate;
    }

    public String getAuthId() {
        return authId;
    }

    public void setAuthId(String authId) {
        this.authId = authId == null ? null : authId.trim();
    }

    public String getIsuse() {
        return isuse;
    }

    public void setIsuse(String isuse) {
        this.isuse = isuse == null ? null : isuse.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRegType() {
        return regType;
    }

    public void setRegType(String regType) {
        this.regType = regType == null ? null : regType.trim();
    }

    public String getAuthName() {
        return authName;
    }

    public void setAuthName(String authName) {
        this.authName = authName == null ? null : authName.trim();
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime == null ? null : updatetime.trim();
    }

    public String getBatchId() {
        return batchId;
    }

    public void setBatchId(String batchId) {
        this.batchId = batchId == null ? null : batchId.trim();
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName == null ? null : cityName.trim();
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName == null ? null : areaName.trim();
    }

    public String getNodeTypeName() {
        return nodeTypeName;
    }

    public void setNodeTypeName(String nodeTypeName) {
        this.nodeTypeName = nodeTypeName == null ? null : nodeTypeName.trim();
    }

    public String getClassTypeName() {
        return classTypeName;
    }

    public void setClassTypeName(String classTypeName) {
        this.classTypeName = classTypeName == null ? null : classTypeName.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public Integer getBusinessNum() {
        return businessNum;
    }

    public void setBusinessNum(Integer businessNum) {
        this.businessNum = businessNum;
    }

    public String getCredit() {
        return credit;
    }

    public void setCredit(String credit) {
        this.credit = credit == null ? null : credit.trim();
    }

    public String getWhetherHelp() {
        return whetherHelp;
    }

    public void setWhetherHelp(String whetherHelp) {
        this.whetherHelp = whetherHelp == null ? null : whetherHelp.trim();
    }

    public String getMainCode() {
        return mainCode;
    }

    public void setMainCode(String mainCode) {
        this.mainCode = mainCode == null ? null : mainCode.trim();
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode == null ? null : qrCode.trim();
    }

    public String getBsState() {
        return bsState;
    }

    public void setBsState(String bsState) {
        this.bsState = bsState == null ? null : bsState.trim();
    }

    public String getBsScope() {
        return bsScope;
    }

    public void setBsScope(String bsScope) {
        this.bsScope = bsScope == null ? null : bsScope.trim();
    }

    public Date getApplytime() {
        return applytime;
    }

    public void setApplytime(Date applytime) {
        this.applytime = applytime;
    }

    public Date getReviewtime() {
        return reviewtime;
    }

    public void setReviewtime(Date reviewtime) {
        this.reviewtime = reviewtime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TraceBaseNode other = (TraceBaseNode) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getSeqId() == null ? other.getSeqId() == null : this.getSeqId().equals(other.getSeqId()))
            && (this.getCityCode() == null ? other.getCityCode() == null : this.getCityCode().equals(other.getCityCode()))
            && (this.getAreaCode() == null ? other.getAreaCode() == null : this.getAreaCode().equals(other.getAreaCode()))
            && (this.getSocialCreditCode() == null ? other.getSocialCreditCode() == null : this.getSocialCreditCode().equals(other.getSocialCreditCode()))
            && (this.getCompName() == null ? other.getCompName() == null : this.getCompName().equals(other.getCompName()))
            && (this.getLegalType() == null ? other.getLegalType() == null : this.getLegalType().equals(other.getLegalType()))
            && (this.getLegalPerson() == null ? other.getLegalPerson() == null : this.getLegalPerson().equals(other.getLegalPerson()))
            && (this.getLegalId() == null ? other.getLegalId() == null : this.getLegalId().equals(other.getLegalId()))
            && (this.getRecordDate() == null ? other.getRecordDate() == null : this.getRecordDate().equals(other.getRecordDate()))
            && (this.getIssuingTime() == null ? other.getIssuingTime() == null : this.getIssuingTime().equals(other.getIssuingTime()))
            && (this.getTermOfValidity() == null ? other.getTermOfValidity() == null : this.getTermOfValidity().equals(other.getTermOfValidity()))
            && (this.getRecordNodeId() == null ? other.getRecordNodeId() == null : this.getRecordNodeId().equals(other.getRecordNodeId()))
            && (this.getRecordNodeName() == null ? other.getRecordNodeName() == null : this.getRecordNodeName().equals(other.getRecordNodeName()))
            && (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress()))
            && (this.getLongitude() == null ? other.getLongitude() == null : this.getLongitude().equals(other.getLongitude()))
            && (this.getLatitude() == null ? other.getLatitude() == null : this.getLatitude().equals(other.getLatitude()))
            && (this.getContacts() == null ? other.getContacts() == null : this.getContacts().equals(other.getContacts()))
            && (this.getTel() == null ? other.getTel() == null : this.getTel().equals(other.getTel()))
            && (this.getFax() == null ? other.getFax() == null : this.getFax().equals(other.getFax()))
            && (this.getNodeType() == null ? other.getNodeType() == null : this.getNodeType().equals(other.getNodeType()))
            && (this.getClassType() == null ? other.getClassType() == null : this.getClassType().equals(other.getClassType()))
            && (this.getIndustryCode() == null ? other.getIndustryCode() == null : this.getIndustryCode().equals(other.getIndustryCode()))
            && (this.getIssend() == null ? other.getIssend() == null : this.getIssend().equals(other.getIssend()))
            && (this.getDelFlg() == null ? other.getDelFlg() == null : this.getDelFlg().equals(other.getDelFlg()))
            && (this.getCreateDate() == null ? other.getCreateDate() == null : this.getCreateDate().equals(other.getCreateDate()))
            && (this.getUpdateDate() == null ? other.getUpdateDate() == null : this.getUpdateDate().equals(other.getUpdateDate()))
            && (this.getAuthId() == null ? other.getAuthId() == null : this.getAuthId().equals(other.getAuthId()))
            && (this.getIsuse() == null ? other.getIsuse() == null : this.getIsuse().equals(other.getIsuse()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getRegType() == null ? other.getRegType() == null : this.getRegType().equals(other.getRegType()))
            && (this.getAuthName() == null ? other.getAuthName() == null : this.getAuthName().equals(other.getAuthName()))
            && (this.getUpdatetime() == null ? other.getUpdatetime() == null : this.getUpdatetime().equals(other.getUpdatetime()))
            && (this.getBatchId() == null ? other.getBatchId() == null : this.getBatchId().equals(other.getBatchId()))
            && (this.getCityName() == null ? other.getCityName() == null : this.getCityName().equals(other.getCityName()))
            && (this.getAreaName() == null ? other.getAreaName() == null : this.getAreaName().equals(other.getAreaName()))
            && (this.getNodeTypeName() == null ? other.getNodeTypeName() == null : this.getNodeTypeName().equals(other.getNodeTypeName()))
            && (this.getClassTypeName() == null ? other.getClassTypeName() == null : this.getClassTypeName().equals(other.getClassTypeName()))
            && (this.getState() == null ? other.getState() == null : this.getState().equals(other.getState()))
            && (this.getBusinessNum() == null ? other.getBusinessNum() == null : this.getBusinessNum().equals(other.getBusinessNum()))
            && (this.getCredit() == null ? other.getCredit() == null : this.getCredit().equals(other.getCredit()))
            && (this.getWhetherHelp() == null ? other.getWhetherHelp() == null : this.getWhetherHelp().equals(other.getWhetherHelp()))
            && (this.getMainCode() == null ? other.getMainCode() == null : this.getMainCode().equals(other.getMainCode()))
            && (this.getQrCode() == null ? other.getQrCode() == null : this.getQrCode().equals(other.getQrCode()))
            && (this.getBsState() == null ? other.getBsState() == null : this.getBsState().equals(other.getBsState()))
            && (this.getBsScope() == null ? other.getBsScope() == null : this.getBsScope().equals(other.getBsScope()))
            && (this.getApplytime() == null ? other.getApplytime() == null : this.getApplytime().equals(other.getApplytime()))
            && (this.getReviewtime() == null ? other.getReviewtime() == null : this.getReviewtime().equals(other.getReviewtime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getSeqId() == null) ? 0 : getSeqId().hashCode());
        result = prime * result + ((getCityCode() == null) ? 0 : getCityCode().hashCode());
        result = prime * result + ((getAreaCode() == null) ? 0 : getAreaCode().hashCode());
        result = prime * result + ((getSocialCreditCode() == null) ? 0 : getSocialCreditCode().hashCode());
        result = prime * result + ((getCompName() == null) ? 0 : getCompName().hashCode());
        result = prime * result + ((getLegalType() == null) ? 0 : getLegalType().hashCode());
        result = prime * result + ((getLegalPerson() == null) ? 0 : getLegalPerson().hashCode());
        result = prime * result + ((getLegalId() == null) ? 0 : getLegalId().hashCode());
        result = prime * result + ((getRecordDate() == null) ? 0 : getRecordDate().hashCode());
        result = prime * result + ((getIssuingTime() == null) ? 0 : getIssuingTime().hashCode());
        result = prime * result + ((getTermOfValidity() == null) ? 0 : getTermOfValidity().hashCode());
        result = prime * result + ((getRecordNodeId() == null) ? 0 : getRecordNodeId().hashCode());
        result = prime * result + ((getRecordNodeName() == null) ? 0 : getRecordNodeName().hashCode());
        result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode());
        result = prime * result + ((getLongitude() == null) ? 0 : getLongitude().hashCode());
        result = prime * result + ((getLatitude() == null) ? 0 : getLatitude().hashCode());
        result = prime * result + ((getContacts() == null) ? 0 : getContacts().hashCode());
        result = prime * result + ((getTel() == null) ? 0 : getTel().hashCode());
        result = prime * result + ((getFax() == null) ? 0 : getFax().hashCode());
        result = prime * result + ((getNodeType() == null) ? 0 : getNodeType().hashCode());
        result = prime * result + ((getClassType() == null) ? 0 : getClassType().hashCode());
        result = prime * result + ((getIndustryCode() == null) ? 0 : getIndustryCode().hashCode());
        result = prime * result + ((getIssend() == null) ? 0 : getIssend().hashCode());
        result = prime * result + ((getDelFlg() == null) ? 0 : getDelFlg().hashCode());
        result = prime * result + ((getCreateDate() == null) ? 0 : getCreateDate().hashCode());
        result = prime * result + ((getUpdateDate() == null) ? 0 : getUpdateDate().hashCode());
        result = prime * result + ((getAuthId() == null) ? 0 : getAuthId().hashCode());
        result = prime * result + ((getIsuse() == null) ? 0 : getIsuse().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getRegType() == null) ? 0 : getRegType().hashCode());
        result = prime * result + ((getAuthName() == null) ? 0 : getAuthName().hashCode());
        result = prime * result + ((getUpdatetime() == null) ? 0 : getUpdatetime().hashCode());
        result = prime * result + ((getBatchId() == null) ? 0 : getBatchId().hashCode());
        result = prime * result + ((getCityName() == null) ? 0 : getCityName().hashCode());
        result = prime * result + ((getAreaName() == null) ? 0 : getAreaName().hashCode());
        result = prime * result + ((getNodeTypeName() == null) ? 0 : getNodeTypeName().hashCode());
        result = prime * result + ((getClassTypeName() == null) ? 0 : getClassTypeName().hashCode());
        result = prime * result + ((getState() == null) ? 0 : getState().hashCode());
        result = prime * result + ((getBusinessNum() == null) ? 0 : getBusinessNum().hashCode());
        result = prime * result + ((getCredit() == null) ? 0 : getCredit().hashCode());
        result = prime * result + ((getWhetherHelp() == null) ? 0 : getWhetherHelp().hashCode());
        result = prime * result + ((getMainCode() == null) ? 0 : getMainCode().hashCode());
        result = prime * result + ((getQrCode() == null) ? 0 : getQrCode().hashCode());
        result = prime * result + ((getBsState() == null) ? 0 : getBsState().hashCode());
        result = prime * result + ((getBsScope() == null) ? 0 : getBsScope().hashCode());
        result = prime * result + ((getApplytime() == null) ? 0 : getApplytime().hashCode());
        result = prime * result + ((getReviewtime() == null) ? 0 : getReviewtime().hashCode());
        return result;
    }
}